<%@ include file="/common/taglibs.jsp"%>
<head>
	<c:set var="noToolBar" value="true" scope="request"/><%-- 不需要工具栏 --%>
</head>
<div class="red"><fmt:message key="giftCategorySelector.title.tip"/></div>
<div id="giftCategorySelectorForm" name="giftCategorySelectorForm">
	<div class="content" id="categoryTree">
		<%@ include file="include/giftCategoryTreeBody.jspf"%>
	</div>
</div>

<c:set var="plugin_tree" value="true" scope="request"/> 
<script type="text/javascript"	src="${ctxPath}/scripts/probiz/catalog/giftCategorySelector.js?rs=${appConfig.rs}"></script>
<script type="text/javascript">
var callbackFunc = eval("parent.${param.selectorId}CallbackFunc");
var validateLeaf = eval("parent.${param.selectorId}ValidateLeaf");
$j(document).ready(function () {
	jCategoryTree = $j('#categoryTree > ul').simpleTree({
		drag:false,
		afterClick:function(node){
		},
		afterDblClick:function(node){
			dbClickTreeItemAction();
		},
		afterMove:function(destination, source, pos){
		},
		afterAjax:function()
		{
		},
		animate:true
		//,docToFolderConvert:true
	})[0];
	$j("#categoryTree").show();
});
	
</script>